<template>
  <div class="message_box">
    <img src="../../assets/image/customerService.jpg" alt="">
    <div class="title1">联系我们</div>
    <div class="title2">Contact us</div>
    <div class="list">
      <div v-for="(item,index) in list" :key="`list_${index}`">
        <img :src="item.img" alt="">
        <div>{{ item.name }}</div>
        <p>{{ item.value }}</p>
      </div>
    </div>
    <div class="form_box"></div>
  </div>
</template>
<script>
export default {
  data(){
    return{
      list:[
        { name: '联系电话', img:require('../../assets/image/phone.png'), value:'000-000-000' },
        { name: '联系QQ', img:require('../../assets/image/qq.png'), value:'1234567891' },
        { name: '联系邮箱', img:require('../../assets/image/email.png'), value:'1234567891.qq.com' },
        { name: '联系地址', img:require('../../assets/image/address.png'), value:'福建省福州市xx区xxxxxx' },
      ]
    }
  }
}
</script>
<style lang="scss" scoped>
.message_box{
  display: flex;
  flex-direction: column;
  align-items: center;
  >img{
    width: 100vw;
  }
  .title1{
    text-align: center;
    font-size: 26px;
    line-height: 32px;
    margin-top: 15px;
  }
  .title2{
    color: #999999;
    font-size: 14px;
  }
  .list{
    width: 80vw;
    display: flex;
    justify-content: space-between;
    margin: 30px auto;
    >div{
      background: white;
      width: calc((80vw - 60px) / 4);
      height: 371px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      img{
        width: 82px;
        height: 82px;
      }
      div{
        color: rgb(153, 153, 153);
        margin: 15px 0;
      }
    }
  }
}
</style>